package com.dc.system.model;

import java.io.Serializable;

public class SysAprvHistory implements Serializable {
	/**
	 * 主键ID
	 *
	 */
	private int id;

	/**
	 * 灵活审批流程或设定审批流程（0-灵活审批流程 1-设定审批流程）
	 *
	 */
	private int aprv_type;

	/**
	 * 流程设定表流程号(例如：1 2 3 )
	 *
	 */
	private int aprv_process_order;

	/**
	 * 顺序号(当一个流程有多个人参与审批时，以此字段进行标示，例如：1 2 3 4)
	 *
	 */
	private int aprv_sort;

	/**
	 * 审批类别值（0手动送审、1自动送审）
	 *
	 */
	private int aprv_process_category;

	/**
	 * 审批顺序(0任意1顺序)
	 *
	 */
	private int ry_aprv_order;

	/**
	 * 审批通过类型(特别说明：当审批顺序为任意时，此字段才有值；0全部审批通过,1任意审批通过)
	 *
	 */
	private int ry_aprv_rule;

	/**
	 * 版本号
	 */
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	/**
	 */
	private static final long serialVersionUID = 1L;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getAprv_type() {
		return aprv_type;
	}

	public void setAprv_type(int aprv_type) {
		this.aprv_type = aprv_type;
	}

	public int getAprv_process_order() {
		return aprv_process_order;
	}

	public void setAprv_process_order(int aprv_process_order) {
		this.aprv_process_order = aprv_process_order;
	}

	public int getAprv_sort() {
		return aprv_sort;
	}

	public void setAprv_sort(int aprv_sort) {
		this.aprv_sort = aprv_sort;
	}

	public int getAprv_process_category() {
		return aprv_process_category;
	}

	public void setAprv_process_category(int aprv_process_category) {
		this.aprv_process_category = aprv_process_category;
	}

	public int getRy_aprv_order() {
		return ry_aprv_order;
	}

	public void setRy_aprv_order(int ry_aprv_order) {
		this.ry_aprv_order = ry_aprv_order;
	}

	public int getRy_aprv_rule() {
		return ry_aprv_rule;
	}

	public void setRy_aprv_rule(int ry_aprv_rule) {
		this.ry_aprv_rule = ry_aprv_rule;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", id=").append(id);
		sb.append(", aprv_type=").append(aprv_type);
		sb.append(", aprv_process_order=").append(aprv_process_order);
		sb.append(", aprv_sort=").append(aprv_sort);
		sb.append(", aprv_process_category=").append(aprv_process_category);
		sb.append(", ry_aprv_order=").append(ry_aprv_order);
		sb.append(", ry_aprv_rule=").append(ry_aprv_rule);
		sb.append("]");
		return sb.toString();
	}

}